package com.shop.cereshop.app.dao.imreport;


import com.shop.cereshop.commons.domain.imReport.CereImReport;
import com.shop.cereshop.commons.domain.imReport.dto.CereImReportParam;

import java.util.List;

public interface ImReportMapper {

    /**
     * 根据条件查询举报记录
     */
    List<CereImReport> findByCondition(CereImReportParam param);

    /**
     * 根据主键查询
     */
    CereImReport selectByPrimaryKey(Long reportId);

    /**
     * 根据主键更新
     */
    int updateByPrimaryKeySelective(CereImReport record);

    /**
     * 添加举报
     */
    int addReport(CereImReport param) ;
}
